package org.jeecg.modules.demo.checkOrder.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: checkOrder
 * @Author: jeecg-boot
 * @Date:   2022-01-19
 * @Version: V1.0
 */
@Data
@TableName("yx_takestock")
@ApiModel(value="yx_takestock对象", description="checkOrder")
public class checkOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**盘点单号*/
    @Excel(name = "盘点单号", width = 15)
    @ApiModelProperty(value = "盘点单号")
    private java.lang.String pdNo;
    /**单据状态（0：未审，1：已审，2：已关闭）*/
    @Excel(name = "单据状态（0：未审，1：已审，2：已关闭）", width = 15)
    @ApiModelProperty(value = "单据状态（0：未审，1：已审，2：已关闭）")
    @Dict(dicCode= "checkState")
    private java.lang.Integer shenhe;
    /**删除状态（0：正常，1：已删）*/
    @Excel(name = "删除状态（0：正常，1：已删）", width = 15)
    @ApiModelProperty(value = "删除状态（0：正常，1：已删）")
    private java.lang.Integer shanchu;
    /**业务员*/
    @Excel(name = "业务员", width = 15)
    @ApiModelProperty(value = "业务员")
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
    private java.lang.String poStaff;
    /**部门*/
    @Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    @Dict(dictTable = "SYS_DEPART",dicCode = "ID",dicText = "DEPART_NAME")
    private java.lang.String department;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**审核人*/
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
    private java.lang.String saleman;
	/**审核日期*/
    @Excel(name = "审核日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核日期")
    private java.util.Date pdTime;
	/**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**存货名称*/
    @Excel(name = "存货名称", width = 15)
    @ApiModelProperty(value = "存货名称")
    private java.lang.String cinvname;
    /**仓库编码*/
    @Excel(name = "仓库编码", width = 15)
    @ApiModelProperty(value = "仓库编码")
    @Dict(dictTable = "YX_WAREHOUSE",dicCode = "WH_NUM",dicText = "WH_NAME")
    private java.lang.String whNum;
    /**
     * 租户ID
     */
    private Integer tenantId;
    /**单据日期*/
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date pdDate;
    /**
     * 创建人
     */
    private String createBy;


    private String sysOrgCode;
}
